]> dgit.raspbian.org Git - gnome-shell.git/commit
loginDialog: Rely on default button for activation
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 4 Oct 2012 17:38:37 +0000 (19:38 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 4 Oct 2012 19:18:54 +0000 (21:18 +0200)
commit20d4ffde6e8dbae92c122abe2ca0bfaa570fbf5e
tree8f4fe3c2d6aa19a0e0ac3cb4f0badb5a979cb976
parent78e5d4df9db4c8beddd92106c80fae2a80867e94
loginDialog: Rely on default button for activation

Currently the default action is performed twice when pressing Return
in the login dialog, once in response to the entry's 'activate' signal,
and again by activating the default button. Usually this is not a
problem, as the second invocation is simply ignored, however it breaks
the case where multiple consecutive questions are asked (e.g. username
and password in the 'Not listed' case).
Fix the problem by not handling the 'activate' signal at all.

https://bugzilla.gnome.org/show_bug.cgi?id=685511
js/gdm/loginDialog.js